package com.dime.physical.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 体检单位管理对象 dime_basecompany
 *
 * @author Tiny
 * @date 2023-09-18
 */
public class DimeBasecompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** 单位编码 */
    @Excel(name = "单位编码")
    private String companyCode;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String companyName;

    /** 社会信用代码 */
    @Excel(name = "社会信用代码")
    private String SocialCode;

    /** 单位地址 */
    @Excel(name = "单位地址")
    private String address;

    /** 邮编 */
    @Excel(name = "邮编")
    private String postalCode;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contacts;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String telephone;

    /** 地区 */
    @Excel(name = "地区")
    private String area;

    /** 行业类别 */
    @Excel(name = "行业类别")
    private String industry;

    /** 经济类型 */
    @Excel(name = "经济类型")
    private String economy;

    /** 企业规模 */
    @Excel(name = "企业规模")
    private String scale;

    /** 职工数 */
    @Excel(name = "职工数")
    private Long workersNumber;

    /** 男职工 */
    @Excel(name = "男职工")
    private Long maleWorkers;

    /** 女职工 */
    @Excel(name = "女职工")
    private Long femaleWorkers;

    /** 生产人数 */
    @Excel(name = "生产人数")
    private Long producerNumber;

    /** 生产女工数 */
    @Excel(name = "生产女工数")
    private Long femaleProducer;

    /** 接害人数 */
    @Excel(name = "接害人数")
    private Long harmNumber;

    /** 接害女工数 */
    @Excel(name = "接害女工数")
    private Long femaleHarm;

    /** 检测类型 */
    @Excel(name = "检测类型")
    private String detectionType;

    /**  */
    @Excel(name = "")
    private Integer IsValid;

    /**  */
    @Excel(name = "")
    private String shopCode;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginDate;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 合同情况 */
    @Excel(name = "合同情况")
    private String contractType;

    /**  */
    @Excel(name = "")
    private String salesmanId;

    /** 销售员 */
    @Excel(name = "销售员")
    private String userName;

    /** 销售员电话 */
    @Excel(name = "销售员电话")
    private String userMobile;

    /** 订单类型 */
    @Excel(name = "订单类型")
    private String orderType;

    /** 付款方式 */
    @Excel(name = "付款方式")
    private String basePayType;

    /** 其他备注 */
    @Excel(name = "其他备注")
    private String remark2;

    /** 需要提醒备注 */
    @Excel(name = "需要提醒备注")
    private String remark3;

    /** 上级单位 */
    @Excel(name = "上级单位")
    private String superiorCompany;

    /** 用工单位 */
    @Excel(name = "用工单位")
    private String employingCompany;


    public List<DimeBasepackage> getBasepackageList() {
        return basepackageList;
    }

    public void setBasepackageList(List<DimeBasepackage> basepackageList) {
        this.basepackageList = basepackageList;
    }

    public List<DimeBasepackage> basepackageList;

//    public List<DimeBasepackage> getDimeBasepackageList() {
//        return basepackageList;
//    }
//
//    public void setDimeBasepackageList(List<DimeBasepackage> dimeBasepackageList) {
//        this.basepackageList = dimeBasepackageList;
//    }
//
//    private List<DimeBasepackage> basepackageList;


    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setCompanyCode(String companyCode)
    {
        this.companyCode = companyCode;
    }

    public String getCompanyCode()
    {
        return companyCode;
    }
    public void setCompanyName(String companyName)
    {
        this.companyName = companyName;
    }

    public String getCompanyName()
    {
        return companyName;
    }
    public void setSocialCode(String SocialCode)
    {
        this.SocialCode = SocialCode;
    }

    public String getSocialCode()
    {
        return SocialCode;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setPostalCode(String postalCode)
    {
        this.postalCode = postalCode;
    }

    public String getPostalCode()
    {
        return postalCode;
    }
    public void setContacts(String contacts)
    {
        this.contacts = contacts;
    }

    public String getContacts()
    {
        return contacts;
    }
    public void setTelephone(String telephone)
    {
        this.telephone = telephone;
    }

    public String getTelephone()
    {
        return telephone;
    }
    public void setArea(String area)
    {
        this.area = area;
    }

    public String getArea()
    {
        return area;
    }
    public void setIndustry(String industry)
    {
        this.industry = industry;
    }

    public String getIndustry()
    {
        return industry;
    }
    public void setEconomy(String economy)
    {
        this.economy = economy;
    }

    public String getEconomy()
    {
        return economy;
    }
    public void setScale(String scale)
    {
        this.scale = scale;
    }

    public String getScale()
    {
        return scale;
    }
    public void setWorkersNumber(Long workersNumber)
    {
        this.workersNumber = workersNumber;
    }

    public Long getWorkersNumber()
    {
        return workersNumber;
    }
    public void setMaleWorkers(Long maleWorkers)
    {
        this.maleWorkers = maleWorkers;
    }

    public Long getMaleWorkers()
    {
        return maleWorkers;
    }
    public void setFemaleWorkers(Long femaleWorkers)
    {
        this.femaleWorkers = femaleWorkers;
    }

    public Long getFemaleWorkers()
    {
        return femaleWorkers;
    }
    public void setProducerNumber(Long producerNumber)
    {
        this.producerNumber = producerNumber;
    }

    public Long getProducerNumber()
    {
        return producerNumber;
    }
    public void setFemaleProducer(Long femaleProducer)
    {
        this.femaleProducer = femaleProducer;
    }

    public Long getFemaleProducer()
    {
        return femaleProducer;
    }
    public void setHarmNumber(Long harmNumber)
    {
        this.harmNumber = harmNumber;
    }

    public Long getHarmNumber()
    {
        return harmNumber;
    }
    public void setFemaleHarm(Long femaleHarm)
    {
        this.femaleHarm = femaleHarm;
    }

    public Long getFemaleHarm()
    {
        return femaleHarm;
    }
    public void setDetectionType(String detectionType)
    {
        this.detectionType = detectionType;
    }

    public String getDetectionType()
    {
        return detectionType;
    }
    public void setIsValid(Integer IsValid)
    {
        this.IsValid = IsValid;
    }

    public Integer getIsValid()
    {
        return IsValid;
    }
    public void setShopCode(String shopCode)
    {
        this.shopCode = shopCode;
    }

    public String getShopCode()
    {
        return shopCode;
    }
    public void setBeginDate(Date beginDate)
    {
        this.beginDate = beginDate;
    }

    public Date getBeginDate()
    {
        return beginDate;
    }
    public void setEndDate(Date endDate)
    {
        this.endDate = endDate;
    }

    public Date getEndDate()
    {
        return endDate;
    }
    public void setContractType(String contractType)
    {
        this.contractType = contractType;
    }

    public String getContractType()
    {
        return contractType;
    }
    public void setSalesmanId(String salesmanId)
    {
        this.salesmanId = salesmanId;
    }

    public String getSalesmanId()
    {
        return salesmanId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setUserMobile(String userMobile)
    {
        this.userMobile = userMobile;
    }

    public String getUserMobile()
    {
        return userMobile;
    }
    public void setOrderType(String orderType)
    {
        this.orderType = orderType;
    }

    public String getOrderType()
    {
        return orderType;
    }
    public void setBasePayType(String basePayType)
    {
        this.basePayType = basePayType;
    }

    public String getBasePayType()
    {
        return basePayType;
    }
    public void setRemark2(String remark2)
    {
        this.remark2 = remark2;
    }

    public String getRemark2()
    {
        return remark2;
    }
    public void setRemark3(String remark3)
    {
        this.remark3 = remark3;
    }

    public String getRemark3()
    {
        return remark3;
    }

    public String getSuperiorCompany() {
        return superiorCompany;
    }

    public void setSuperiorCompany(String superiorCompany) {
        this.superiorCompany = superiorCompany;
    }

    public String getEmployingCompany() {
        return employingCompany;
    }

    public void setEmployingCompany(String employingCompany) {
        this.employingCompany = employingCompany;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("companyCode", getCompanyCode())
                .append("companyName", getCompanyName())
                .append("SocialCode", getSocialCode())
                .append("address", getAddress())
                .append("postalCode", getPostalCode())
                .append("contacts", getContacts())
                .append("telephone", getTelephone())
                .append("area", getArea())
                .append("industry", getIndustry())
                .append("economy", getEconomy())
                .append("scale", getScale())
                .append("workersNumber", getWorkersNumber())
                .append("maleWorkers", getMaleWorkers())
                .append("femaleWorkers", getFemaleWorkers())
                .append("producerNumber", getProducerNumber())
                .append("femaleProducer", getFemaleProducer())
                .append("harmNumber", getHarmNumber())
                .append("femaleHarm", getFemaleHarm())
                .append("detectionType", getDetectionType())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("IsValid", getIsValid())
                .append("shopCode", getShopCode())
                .append("beginDate", getBeginDate())
                .append("endDate", getEndDate())
                .append("contractType", getContractType())
                .append("salesmanId", getSalesmanId())
                .append("userName", getUserName())
                .append("userMobile", getUserMobile())
                .append("orderType", getOrderType())
                .append("basePayType", getBasePayType())
                .append("remark", getRemark())
                .append("remark2", getRemark2())
                .append("remark3", getRemark3())
                .append("superiorCompany", getSuperiorCompany())
                .append("employingCompany", getEmployingCompany())
                .toString();
    }
}
